how to use sscanf for parse into the address of an integer